package com.htjc.uep.center.basic.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.htjc.uep.center.model.entity.SaBusinessProcess;
import com.htjc.uep.center.model.entity.UpBusinessProcessFlow;
import com.htjc.uep.center.model.entity.UpPool;
import com.htjc.uep.center.model.entity.UpPoolFlow;

@Mapper
public interface BasicApplyMapper {
	
	public Boolean queryPoolIsEmpty(@Param("poolNo")String poolNo, @Param("platformNo")String platformNo);
	
	public Boolean queryPlatformIsEmpty(@Param("platformNo")String platformNo);
	
	public void insertUpPool(@Param("upPool")UpPool upPool);
	
	public void insertUpPoolFlow(@Param("upPoolFlow")UpPoolFlow upPoolFlow);
	
	public String createApplyNo();
	
	public SaBusinessProcess queryBusinessProcess(@Param("processNo")String processNo);
	
	public void insertUpProcessFlow(@Param("processFlow")UpBusinessProcessFlow processFlow);
}
